Skip to content

查询不活跃商户身份核实结果

在代特约商户发起不活跃商户身份核实后,服务商可以通过该接口,查询特定特约商户下单笔核实单的核实结果。

请求参数类型描述
sub_mchidstring特约商户号
verification_idstring核实单号
php
$instance->v3->compliance->inactiveMerchantIdentityVerification->merchants->_sub_mchid_->verifications->_verification_id_->getAsync([
  'sub_mchid' => '1900009231',
  'verification_id' => '28011678863778000000123124312',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance->chain('v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}')->getAsync([
  'sub_mchid' => '1900009231',
  'verification_id' => '28011678863778000000123124312',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$instance['v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}']->getAsync([
  'sub_mchid' => '1900009231',
  'verification_id' => '28011678863778000000123124312',
])
->then(static function(\Psr\Http\Message\ResponseInterface $response) {
  print_r(json_decode((string) $response->getBody(), true));
})
->wait();
php
$response = $instance->v3->compliance->inactiveMerchantIdentityVerification->merchants->_sub_mchid_->verifications->_verification_id_->get([
  'sub_mchid' => '1900009231',
  'verification_id' => '28011678863778000000123124312',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance->chain('v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}')->get([
  'sub_mchid' => '1900009231',
  'verification_id' => '28011678863778000000123124312',
]);
print_r(json_decode((string) $response->getBody(), true));
php
$response = $instance['v3/compliance/inactive-merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}']->get([
  'sub_mchid' => '1900009231',
  'verification_id' => '28011678863778000000123124312',
]);
print_r(json_decode((string) $response->getBody(), true));
返回字典类型描述
sub_mchidstring特约商户号
verification_idstring核实单号
statestring核实单状态
PROCESSING | SUCCESS | FAIL 枚举值之一
fail_reasonstring失败原因
MATERIALS_ABNORMAL | PROCESS_TIMEOUT 枚举值之一
create_timestring创建时间
finish_timestring完成时间

参阅 官方文档

Published on the GitHub by TheNorthMemory